package ZuoYe18;

import java.util.Scanner;

public class Di3 {
    public static void main(String[] args) {
        System.out.println("输入两个整数");
        Scanner sc=new Scanner(System.in);
        int a= sc.nextInt();
        int b= sc.nextInt();
        System.out.println(a&b);
        System.out.println(a|b);
        System.out.println(a^b);
    }
}
